layuiFunciton.ajaxRequest({
    url:  layuiFunciton.URL + '/dataBackup/findDataBackup',
    method: 'get',
    success: function(data){
        console.log(data)
        var html = '';
        for(var i=0;i<data.length;i+=2){
            html+='<li class="layui-timeline-item">';
                if(i==data.length-2)
                    html+='<i class="layui-icon layui-anim layui-anim-rotate layui-anim-loop layui-timeline-axis"></i>';
                else if(i==0)
                    html+='<i class="layui-icon layui-timeline-axis"></i>';
                else
                    html+='<i class="layui-icon layui-anim layui-timeline-axis"></i>';
                 html+='<div class="layui-timeline-content layui-text">';
                    html+=' <div class="layui-timeline-title">'+data[i].createTime+'，<a href="'+layuiFunciton.URL + '/dataBackup/exportFile?id='+data[i].id+'">'+data[i].fileName+'（'+data[i].userName+'）</a>&nbsp;/&nbsp;<a href="'+layuiFunciton.URL + '/dataBackup/exportFile?id='+data[i+1].id+'">'+data[i+1].fileName+'（'+data[i+1].userName+'）</a></div>';
                 html+='</div>';
            html+='</li>';
        }
        $("ul").html(html);
    }
});